package cn.nuc.pojo.sensorfire;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("fire")
public class Fire {
    @TableId(value = "id" , type = IdType.AUTO)
    private Integer id;
    private String date;
    private Integer sensorId;
    private String status;
    @TableField(exist = false)
    private Sensor sensor;
}
